import { Tween } from './Tween';

export class LinearTween implements Tween {
	constructor(private increment: number) {
	}

	interpolate(value: number, frame: number): number {
		return value + this.increment * frame;
	}
}
